home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1 / Nebula One.iso / Internet / WWW / Perl_WWW_Utilities / html2ps / manpage.txt < prev    next >
Encoding:
Text File  |  1994-12-11  |  4.3 KB  |  122 lines

  1. html2ps(1)                User Commands                html2ps(1)
  2.  
  3. NAME
  4.      html2ps - convert HTML to PostScript
  5.  
  6. SYNOPSIS
  7.      html2ps [ -aCcFLnUuv ] [ -cw program ] [ -f font ]  [   - hn
  8.      scalefactor  ]  [ -im text ] [ -l length ] [ -LM size ] [ -o
  9.      file ] [ -p scalefactor ] [ -PS size ] [ -s scalefactor ] [
  10.      -tn style ] [ -TM size ] [ -w width ] [ file...  ]
  11.  
  12. DESCRIPTION
  13.      The program html2ps converts  one  or  more  HTML  files  to
  14.      PostScript.  If  no  filename  is  given, html2ps reads from
  15.      standard input. If more than one  file  is  specified,  they
  16.      will be concatenated.
  17.  
  18.      The current version does not  support  in-line  images,  the
  19.      <ISINDEX> tag and <FORM> with associated tags.
  20.  
  21. OPTIONS
  22.      -a   Do not interpret nested highlighting  tags  additively.
  23.           For  example  "<B><I>some  text</I></B>"  will normally
  24.           produce bold italic text.  With the -a option, the text
  25.           will  be italic but not bold (only the innermost tag is
  26.           interpreted).
  27.  
  28.      -C   Check the syntax of the HTML file  (using  an  external
  29.           syntax  checker).  No PostScript code is generated. The
  30.           default is to not make a syntax check.
  31.  
  32.      -c   Like the -C option, but PostScript code  is  also  gen-
  33.           erated.   If  you use this option, you may also have to
  34.           use the -o option, to avoid getting the syntax  checker
  35.           output mixed with the PostScript code.
  36.  
  37.      -cw program
  38.           Specifies which  program  the  HTML  syntax  should  be
  39.           checked with. The default is to use weblint.
  40.  
  41.      -f font
  42.           The font used for normal text. The default  font  is  n
  43.           (NewCenturySchlbk).   Other  choices  are  t (Times), h
  44.           (Helvetica), hn  (Helvetica-Narrow),  p  (Palatino),  a
  45.           (AvantGarde)  and  b (Bookman). New fonts can easily be
  46.           added.
  47.  
  48.      -F   Draw a frame around the text on each page. The  default
  49.           is to not draw a frame.
  50.  
  51.      -hn scalefactor
  52.           Scale the text in headers of level n (1..6) with a fac-
  53.           tor scalefactor. The default is 1.
  54.  
  55.      -im text
  56.           Specifies which text should be written as a replacement
  57.           for  in-line  images,  when  the  <IMG>  tag has no ALT
  58.           attribute. The default text is "[IMAGE]".
  59.  
  60.      -L   Generate code  for  printing  in  landscape  mode.  The
  61.           default is portrait mode.
  62.  
  63.      -l length
  64.           The maximum length of the text on each page in centime-
  65.           ters.  The  default is 23 cm in portrait mode, 15 cm in
  66.           landscape mode.
  67.  
  68.      -LM size
  69.           The size of the left margin in centimeters. The default
  70.           is 2.5 cm.
  71.  
  72.      -n   Insert page numbers. The default is to not  number  the
  73.           pages.
  74.  
  75.      -o file
  76.           Write the PostScript code to file. The  default  is  to
  77.           write to standard output.
  78.  
  79.      -p scalefactor
  80.           Scale preformatted text with a factor scalefactor.  The
  81.           default is 1.
  82.  
  83.      -PS size
  84.           The vertical size in centimeters of the paper the docu-
  85.           ment will be printed on. You may also give the names A4
  86.           (29.7 cm) or US (27.9 cm). The default size is A4.
  87.  
  88.      -s scalefactor
  89.           Scale the entire document with  a  factor  scalefactor.
  90.           The default is 1.
  91.  
  92.      -tn style
  93.           Set the style of the text in headers of level n (1..6).
  94.           Possible  choices are n (normal), b (bold), i (italic),
  95.           bi (bold italic), f (fixed), fb (fixed bold), fi (fixed
  96.           italic)  and  fbi (fixed bold italic). The default is b
  97.           for all header levels.
  98.  
  99.      -TM size
  100.           The size of the top margin in centimeters. The  default
  101.           is  3  cm.  Note:  To  get  the  size of the top margin
  102.           correct (when printing in portrait mode on  other  than
  103.           the A4 paper size), you must also give the -PS option.
  104.  
  105.      -U   Print usage information.
  106.  
  107.      -u   Do not underline anchor text. The default is to  under-
  108.           line anchor text.
  109.  
  110.      -v   Print information on the version of html2ps.
  111.  
  112.      -w width
  113.           The maximum width  of  the  text  in  centimeters.  The
  114.           default is 16 cm in portrait mode, 24.5 cm in landscape
  115.           mode.
  116.  
  117. SEE ALSO
  118.      perl(1), weblint(1)
  119.  
  120. AUTHOR
  121.      Jan Karrman (jan@tdb.uu.se)
  122.